/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author Messi
 */
public class ChiTietPhieuNhapPOJO {
    private int maChiTietPhieuNhap;
    private int maPhieuNhap;
    private int maSanPham;
    private int soLuong;
    private float donGia;
    
    public ChiTietPhieuNhapPOJO(int maChiTietPhieuNhap,int maPhieuNhap,int maSanPham,int soLuong,float donGia)
    {
        this.maChiTietPhieuNhap= maChiTietPhieuNhap;
        this.maPhieuNhap = maPhieuNhap;
        this.maSanPham = maSanPham;
        this.soLuong = soLuong;
        this.donGia = donGia;
    }
    public ChiTietPhieuNhapPOJO(ChiTietPhieuNhapPOJO ct)
    {
        this.maChiTietPhieuNhap = ct.maChiTietPhieuNhap;
        this.maPhieuNhap = ct.maPhieuNhap;
        this.maSanPham = ct.maSanPham;
        this.soLuong = ct.soLuong;
        this.donGia = ct.donGia;
    }

    public float getDonGia() {
        return donGia;
    }

    public void setDonGia(float donGia) {
        this.donGia = donGia;
    }

    public int getMaChiTietPhieuNhap() {
        return maChiTietPhieuNhap;
    }

    public void setMaChiTietPhieuNhap(int maChiTietPhieuNhap) {
        this.maChiTietPhieuNhap = maChiTietPhieuNhap;
    }

    public int getMaPhieuNhap() {
        return maPhieuNhap;
    }

    public void setMaPhieuNhap(int maPhieuNhap) {
        this.maPhieuNhap = maPhieuNhap;
    }

    public int getMaSanPham() {
        return maSanPham;
    }

    public void setMaSanPham(int maSanPham) {
        this.maSanPham = maSanPham;
    }

    public int getSoLuong() {
        return soLuong;
    }

    public void setSoLuong(int soLuong) {
        this.soLuong = soLuong;
    }
    
}
